import React from 'react';

import BaseExecuter from '../common/BaseExecuter';

export default class GuahaoExecuter extends BaseExecuter {
  constructor(props) {
    super(props);
  }

  execute(action) {
    switch (action.name) {
      case "GuahaoRequestHospitalListAction":
        this._requestList(action);
        break;
    }
  }

  _requestList(action) {
    this._sendRequestCommonResponse(action, "sendRequestHospitalList");
  }

  _getModuleType() {
    return Constants.MODULE_TYPE.GUAHAO;
  }
}
